﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebApp.Login_" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script src="jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        //点击切换验证码
        function f_refreshtype() {
            var Image1 = document.getElementById("img");
            if (Image1 != null) {
                Image1.src = Image1.src + "?";
            }
        }
    </script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>欢迎使用学生信息管理系统！请登录</title>
    <style type="text/css">
        .auto-style1 {
            width: 100%;
            height: 159px;
        }
        .auto-style2 {
            text-align: right;
            width: 106px;
        }
        .auto-style3 {
            text-align: left;
        }
        .auto-style4 {
            text-align: left;
        }
        .auto-style5 {
            text-align: left;
            width: 21px;
        }
        .auto-style6 {
            text-align: center;
            height: 45px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
   
    <div >
         <div style="margin:auto;margin-top:110px; text-align:center; width:600px; height: 375px; background-image: url('Images/登录.jpg');" >
            <div style="text-align:center; height: 371px; width: 283px; margin-left: 50px; font-family: 楷体; font-size: large;">
     
                <br />
                <h1 style="font-size: xx-large; font-family: 华文行楷; color: #FFFFFF;">用户登录/LOGIN</h1>
                <hr style="height: -12px"/>
              
                <table class="auto-style1">
                    <tr>
                        <td class="auto-style2">
                            <asp:Label ID="lblUserName" runat="server" Font-Bold="True" ForeColor="White" style="text-align: right" Text="用户名："></asp:Label>
                        </td>
                        <td class="auto-style4" colspan="2">
                            <asp:TextBox ID="txtUserName" runat="server" Height="20px" Width="150px" BackColor="#FFFFCC" ToolTip="用户名不可为空！"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style2">
                            <asp:Label ID="lblPwd" runat="server" Font-Bold="True" ForeColor="White" Text="密码："></asp:Label>
                        </td>
                        <td class="auto-style4" colspan="2">
                            <asp:TextBox ID="txtPwd" runat="server" Height="20px" Width="150px" TextMode="Password" BackColor="#FFFFCC" ToolTip="密码不可为空！"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style2">
                            <asp:Label ID="lblP" runat="server" Font-Bold="True" ForeColor="White" Text="验证码："></asp:Label>
                        </td>
                        <td class="auto-style5">
                            <asp:TextBox ID="TextBox3" runat="server" Height="20px" Width="90px"></asp:TextBox>
                        </td>
                        <td class="auto-style3">
                            <img src="png.aspx" id="img" onclick="f_refreshtype()" />
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style6" colspan="3" style="color: #FFFFFF; font-weight: bold;">                          
                            <asp:RadioButton ID="rdMan" runat="server" GroupName="Type" Text="管理员" />
                            <asp:RadioButton ID="rdTea" runat="server" GroupName="Type" Text="教师" />
                            <asp:RadioButton ID="rdStu" runat="server" GroupName="Type" Text="学生" Checked="True" />
                        </td>
                    </tr>
                </table>

               
                <asp:Button ID="btnLogin" runat="server" Text="登录" OnClick="btnLogin_Click" Height="25px" Width="45px" />
                &nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnIn" runat="server" Text="注册" OnClick="btnIn_Click" Height="25px" Width="45px" />
               
            &nbsp;&nbsp;&nbsp;
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="重置" Height="25px" Width="45px" />
                <br />
                <br />
                <br />
               
            </div>

         </div>
        
    
    </div>
    </form>
</body>
</html>
